var startTime=new Date().getTime();

var db=connect('company');
var rs=db.randomInfo.find({username:'u8rh9rhgx5'});

rs.forEach(rs=>{
    printjson(rs);
})
var runTime=new Date().getTime()-startTime;
print("[demo]this run time is "+runTime+'ms');


//建立索引
//db.randomInfo.ensureIndex({username:1})